package com.hulk.dryad.persistence.service;


import com.baomidou.mybatisplus.extension.service.IService;
import com.hulk.dryad.common.component.R;
import com.hulk.dryad.persistence.entity.DictCode;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author hulk
 * @since 2019-05-16
 */
public interface DictCodeService extends IService<DictCode> {

	/**
	 * 删除字典项
	 * @param id 字典项ID
	 * @return
	 */
	R removeDictCode(Integer id);

	/**
	 * 更新字典项
	 * @param code 字典项
	 * @return
	 */
	R updateDictCode(DictCode code);

}
